//
//  JWTextPickerViewConfig.swift
//  saasApp
//
//  Created by linjw on 2022/7/29.
//

import UIKit

/// 配置
public class JWTextPickerViewConfig: NSObject {

    /// 标题颜色
    public lazy var titleTextColor: UIColor = UIColor(red: 0.2, green: 0.2, blue: 0.2, alpha: 1)
    
    /// 标题字体
    public lazy var titleTextFont: UIFont = UIFont.systemFont(ofSize: 16, weight: .semibold)
    
    /// 取消按钮颜色
    public lazy var cancelTextColor: UIColor = UIColor.red
    
    /// 取消按钮高亮颜色
    public lazy var cancelTextHighLightColor: UIColor? = nil
    
    /// 取消按钮字体
    public lazy var cancelTextFont: UIFont = UIFont.systemFont(ofSize: 14)
    
    /// 提交按钮颜色
    public lazy var submitTextColor: UIColor = UIColor.black
    
    /// 提交按钮高亮颜色
    public lazy var submitTextHighLightColor: UIColor? = nil
    
    /// 提交按钮字体
    public lazy var submitTextFont: UIFont = UIFont.systemFont(ofSize: 14)
    
    /// 分割线颜色
    public lazy var headViewSeparatorColor: UIColor = UIColor(red: 238/255, green: 238/255, blue: 238/255, alpha: 1.0)

    /// 内容分割线
    public lazy var contentSeparatorColor: UIColor = UIColor(red: 228/255, green: 228/255, blue: 228/255, alpha: 1.0)

    /// 内容字体
//    public lazy var contentFont: UIFont = UIFont.systemFont(ofSize: 15)
    
    /// 内容颜色
//    public lazy var contentTextColor: UIColor = UIColor(red: 0.53, green: 0.53, blue: 0.58, alpha: 1)
    
    /// 内容选中字体
    public lazy var contentSelectedFont: UIFont = UIFont.systemFont(ofSize: 18, weight: .semibold)
    
    /// 内容选中颜色
    public lazy var contentTextSelectedColor: UIColor = UIColor(red: 0.22, green: 0.21, blue: 0.3, alpha: 1)
    
    /// 头部圆角
    public lazy var headViewCornerRadius: CGFloat = 12.0
    
    static public func defaultConfig() -> JWTextPickerViewConfig {
        let it = JWTextPickerViewConfig()
        return it
    }
    
}
